package org.dei.perla.sys.utils;

public class TableFormatInfo {
	private int len[];
	
	public int[] getFieldsLen() {
		return len;
	}
	
	public void setFieldsLen(int[] len) {
		this.len = len;
	}

	public int getTableRecordSize() {
		int retValue = 0;
		for (int i = 0; i < len.length; i++) {
			retValue += len[i];
		}
		retValue += 1 + len.length;
		return retValue;
	}
}
